package cn.kgc.kgde.bookstore.entity;

public class ResultInfo<T> {
    private Integer responseCode;
    private String responseMessage;
    private  T object;

    public ResultInfo(Integer responseCode, String responseMessage) {
        this.responseCode = responseCode;
        this.responseMessage = responseMessage;
    }

    public ResultInfo(Integer responseCode, String responseMessage, T object) {
        this.responseCode = responseCode;
        this.responseMessage = responseMessage;
        this.object = object;
    }

    public ResultInfo() {
    }

    public Integer getResponseCode() {
        return responseCode;
    }

    public void setResponseCode(Integer responseCode) {
        this.responseCode = responseCode;
    }

    public String getResponseMessage() {
        return responseMessage;
    }

    public void setResponseMessage(String responseMessage) {
        this.responseMessage = responseMessage;
    }

    public T getObject() {
        return object;
    }

    public void setObject(T object) {
        this.object = object;
    }
}